<style>
        .all-num-box {
                display: none;
        }
</style>
<form id="add_good-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
        <div class="form-group">
                <label for="c-name" class="col-sm-2 control-label">商品名称</label>
                <div class="col-sm-8">
                        <input type="text" class="form-control selectpage" data-source="item/item/getitemlist"
                                data-multiple="true" data-search-field="title" data-field="title" id="c-name"
                                name="goodsname" placeholder="商品名称" required>
                </div>
                <button type="button" href="#" class="btn btn-primary" id="c-goods">确认</button>
        </div>
        <div id="type" style="display: none;">{$type}</div>
        <div class="form-group" id="showTable">
                <label for="c-goods" class="col-sm-2 control-label">商品数据</label>
                <div class="col-sm-10">
                        <table class="table">
                                <thead id="head">
                                        <tr>
                                                <th scope="col">#</th>
                                                <th scope="col">First</th>
                                                <th scope="col">Last</th>
                                                <th scope="col">Handle</th>
                                        </tr>
                                </thead>
                                <tbody id="table">

                                </tbody>
                        </table>
                </div>
                <div class="all-num-box">
                        <div class="col-sm-2"></div>
                        <div class="col-sm-10" style="display: flex;align-items: center;">
                                总次数 <input style="margin-left: 10px;" type="number" class="all-num" value="">
                        </div>
                </div>
        </div>
</form>